{% extends 'base.html' %}
{% load static %}
{% load mytags %}

{% block title %}
    <title>自我介绍</title>
{% endblock %}
{% block css %}
    <style>
            .content{
                 min-height: calc(100vh - 70px);
            }
            .footer {
                 height: 330px;
            }
        </style>
{% endblock %}
{% block content %}
    <!--中间内容-->
    <div class="m-container m-padded-tb-big">
        <div class="ui container">
            <div class="ui stackable grid">
                <div class="eleven wide column">
                    <div class="ui segment">
                        <img src="{% static 'images/self.jpg' %}" alt="" class="ui rounded image">
                    </div>
                </div>
                <div class="five wide column">
                    <div class="ui top attached segment">
                        <div class="ui header">关于我</div>
                    </div>
                    <div class="ui attached segment">
                        <p class="m-text">{% get_introduce %}</p>
                    </div>

                    <div class="ui attached segment">
                        <div class="ui orange basic left pointing label">编程</div>
                        <div class="ui orange basic left pointing label">思考</div>
                        <div class="ui orange basic left pointing label">运动</div>
                        <div class="ui orange basic left pointing label">电影</div>
                        <div class="ui orange basic left pointing label">音乐</div>
                    </div>

                    <div class="ui attached segment">
                        <div class="ui teal basic left pointing label m-margin-tb-tiny">Python</div>
                        <div class="ui teal basic left pointing label m-margin-tb-tiny">前端</div>
                        <div class="ui teal basic left pointing label m-margin-tb-tiny">Django</div>
                        <div class="ui teal basic left pointing label m-margin-tb-tiny">测试</div>
                        <div class="ui teal basic left pointing label m-margin-tb-tiny">爬虫</div>
                        <div class="ui teal basic left pointing label m-margin-tb-tiny">...</div>
                    </div>

                    <div class="ui bottom attached segment">
                        <a href="https://github.com/liuchangfu" class="ui circular icon button"><i class="github icon"></i></a>
                        <a href="#" class="ui wechat circular icon button"><i class="weixin icon"></i></a>
                        <a href="#" class="ui qq circular icon button" data-content="172667104"
                           data-position="bottom center"><i class="qq icon"></i></a>
                    </div>

                    <div class="ui wechat-qr flowing popup transition hidden">
                        <img src="{% static 'images/wechat.png' %}" alt="" class="ui rounded image" style="width: 110px">
                    </div>
                </div>
            </div>
        </div>
    </div>
    <br>
    <br>
{% endblock %}

{% block javascript %}
    <script src="https://cdn.jsdelivr.net/npm/jquery@3.2/dist/jquery.min.js"></script>
    <script src="https://cdn.jsdelivr.net/semantic-ui/2.2.4/semantic.min.js"></script>
    <script>
        $('.menu.toggle').click(function () {
            $('.m-item').toggleClass('m-mobile-hide');
        });
        $('.wechat').popup({
            popup: $('.wechat-qr'),
            position: 'bottom center'
        });
        $('.qq').popup();
    </script>
{% endblock %}

